package com.ruoyi.business.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * spu信息对象 spu_info
 *
 * @author 吴倩芸
 * @date 2023-03-04
 */
@Data
@TableName("spuInfo")
public class SpuInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    private Long id;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @TableField(value = "spuName")
    private String spuName;

    /**
     * 商品描述
     */
    @Excel(name = "商品描述")
    @TableField(value = "spuDescription")
    private String spuDescription;

    /**
     * 品牌id
     */
    @Excel(name = "品牌id")
    @TableField(value = "brandId")
    private String brandId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField(value = "weight")
    private BigDecimal weight;

    /**
     * 上架状态[0 - 下架，1 - 上架]
     */
    @Excel(name = "上架状态[0 - 下架，1 - 上架]")
    @TableField(value = "publishStatus")
    private Integer publishStatus;


}
